<section style="background: #F9F9F9;
      display: flex;
      height: 100vh;
      flex-direction: column;
      justify-content: center;
      align-items: center;">
    <div style="font-size: .24rem;display: none;
      font-weight: 400;
      color: #666666;">电脑版暂不支持显示</div>
    <div style="font-size: .2rem; color: #666666; margin: .1rem 0 .3rem">请用手机微信扫描下方二维码查看</div>
    <div id="qrcode"></div>
</section>
<script src="https://res.bestyoujia.com/common/third/qrcode/qrcode.min.js"></script>
<script>
    new QRCode(document.getElementById("qrcode"), {
        text: window.location.href,
        width: 180,
        height: 180,
    });
</script>